<template>
	<view class="setting">
		<view class="aa">
			<view class="text">
				<view class="list1" @click="orderType">
					<view class="aa1">
						<text>接单设置</text>
					</view>
					<image class="img2" src="../../static/right(1).png" mode=""></image>
				</view>
				<view class="list1" @click="changeNumber">
					<view class="aa1">
						<text>修改手机号</text>
					</view>
					<image class="img2" src="../../static/right(1).png" mode=""></image>
				</view>
				<view class="list1">
					<view class="aa1">
						<text>检查更新</text>
					</view>
					<image class="img2" src="../../static/right(1).png" mode=""></image>
				</view>
				<view class="list1">
					<view class="aa1">
						<text>关于</text>
					</view>
					<text style="margin-left: 45%;">v3.1.10</text>
					<image class="img2" src="../../static/right(1).png" mode=""></image>
				</view>
			</view>
		</view>
		<view class="larder">
			《合作协议》和《隐私协议》
		</view>
		<view class="bottom" @click="login">
			<view class="withdrawal">
				退出登录
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		methods: {
			orderType(){
				uni.navigateTo({
					url: "/pages/index/orderType"
				})
			},
			changeNumber(){
				uni.navigateTo({
					url: "/pages/index/changeNumber"
				})
			},
			login(){
				uni.navigateTo({
					url: "/pages/index/index"
				})
			},
		}
	}
</script>

<style scoped>
	.setting {
		background: rgb(238, 238, 238);
		height: 1250rpx;
	}

	.aa {
		display: flex;
	}

	.text {
		width: 100%;
		height: 400rpx;
		background-color: #FFFFFF;
		margin-top: 3%;
	}

	.list1 {
		display: flex;
		flex-direction: row;
		padding: 15px;
		align-items: center;
		justify-content: space-between;
		border-bottom: 1px solid rgb(238, 238, 238);
	}

	.aa1 {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		width: 35%;
	}

	.img2 {
		width: 30rpx;
		height: 30rpx;
	}

	.larder {
		text-align: center;
		color: rgb(0, 201, 249);
		margin-top: 80%;
	}

	.bottom {
		margin: 0 auto;
		width: 85%;
		margin-top: 5%;
	}

	.withdrawal {
		width: 100%;
		height: 80rpx;
		border-radius: 20px;
		margin-bottom: 5%;
		text-align: center;
		padding-top: 12px;
		color: #FFFFFF;
		background-image: linear-gradient(to right, rgb(53, 199, 233), rgb(30, 141, 255));
	}
</style>
